package cn.explink.dop.service;

import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import cn.explink.dop.entity.vo.StorefrontVO;
import cn.explink.eap.core.common.service.CommonService;

/**
 * 业务层
 *
 * @author firefly 2015-2-27 10:36
 *
 */
@Transactional
public interface StorefrontService extends CommonService {

	public String add(final StorefrontVO sto);

	public void modify(final StorefrontVO sto);

	public List<StorefrontVO> getListData(final StorefrontVO sto);

	public Map<String, Object> getListDataByPage(final StorefrontVO sto, final int pageNum, final int pageSize);

	public int deleteData(final List<StorefrontVO> stoList);

	public StorefrontVO queryById(String storefrontId);

	/**
	 *
	 * @Title: openSto
	 * @Description: 启用店面
	 * @author 孟凡岭
	 * @param @param idsArr
	 * @return void 返回类型
	 * @throws
	 */
	public void openSto(String[] idsArr);

	/**
	 * 
	 * @Title: stopSto
	 * @Description: 停用店面
	 * @author 孟凡岭
	 * @param @param idsArr
	 * @param @return
	 * @return boolean 返回类型
	 * @throws
	 */
	public boolean stopSto(String[] idsArr);
}
